/******* LYSANDER - IMPORTANT: CHANGED ALL MEDIA MIN-WIDTH RULES TO 992PX AND MAX-WIDTH RULES TO 991PX TO MATCH BOOTSTRAP DEFAULTS *******/


.panel-body .alert.alert-danger{   
    background: none;
    border: 1px solid red;
    color: red;
}

.clone_wrapper{
    position: relative;
}

.add-button.form-group{
  margin-bottom: 0;
}

.website-label{
    margin-top: 40px;
}

.contacts-create .event-panel, 
.contacts-edit .event-panel{
    position: relative;
}
/*--------------------------------- Form Title CSS -----------------------------------*/

.lead{
	font-size: 20px;
    font-family: Helvetica,sans-serif;
    line-height: 3em;
    position: relative;
    /*outline: 0;*/
    border: 0;
    font-weight: bold;
    text-align: center;
    height: 3em;
    opacity: 0.5;
}

.lead:before {
    content: '';
    background: linear-gradient(to right, #00000000, #ca741c, #ca741c);
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
}

.lead > a {
	color:#555555;
	font-weight: bold;
}

.lead > a:hover {
	text-decoration: none;
}

/*------------------------------ Form Control CSS ---------------------------------*/

.form-control{
    border-color: #AA9157;
    background-color: #E5DECC;
    margin-bottom: 5px;
    width: auto;
    min-width: 20%;
}

.form-control:focus{
    /*
        border-color: #66afe9;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    */
    border-color: #AA9157;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(170,145,87,0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(170,145,87,0.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(170,145,87,0.6);
}


.forms-background{
    /*background-color: #DDD3BC;
    -webkit-box-shadow: 0 0 20px 2px #AA9157;
    -moz-box-shadow: 0 0 20px 2px #AA9157;
    box-shadow: 0 0 20px 2px #AA9157;
    border: 1px solid #AA9157;*/
    box-shadow: 0px 0px 10px 2px grey;
    background-color: #F6F4EE;
}

/*.form-control:hover{
    background-color: #EEE9DD;
}*/

#create-user .form-control{
    width: 100%;
}

#search-events-sbm, 
#search-bank-sbm, 
#search-company-sbm, 
#search-contact-sbm,
#search-department-sbm, 
#search-jobposition-sbm, 
#search-projectgroup-sbm, 
#search-project-sbm, 
#search-taxdepartment-sbm{
    /*background-color: #ffffff;*/
}

label{
    font-style: italic;
    margin-bottom: 0;
    font-weight: lighter;
}

.input-sm{
    max-width: 250px;
    /*box-sizing: content-box;*/
    font-size: 14px;
}

select[name^="search-results"]{
    min-width: 60px !important;
}

@media(max-width:991px){
    .form-control{
        min-width: 90%;
        max-width: 90%;
    }
    
    .date-selector-container .form-control{
        min-width: 100%;
    }
}

@media(min-width:992px){
    .form-control{
        min-width: 80%;
        max-width: 80%;
    }
    
    .date-selector-container .form-control{
        min-width: 100%;
    }
}

.form-group .form-control[disabled]{
    background:none;
    color: #555;
}

.date-selector-label,
.rel-contact-event-info-label,
.rel-event-info-label{
    margin: 10px 0 5px 0;
    font-style: italic;
    font-weight: bold;
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    padding: 0 5px;
}

.date-selector-container,
.rel-contact-event-info-container,
.rel-event-info-container{
    /*border: 1px solid #80808036;*/
    border: 1px solid #AA9157;
    padding-bottom:14px;
    border-radius: 5px;
}

.date-selector-container .btn{
    display: block;
}

.create-btn.btn-default{
    font-size: 1.1em;
    /*border: 2px solid #545454de;
    color: #615858;*/
    letter-spacing:1px;
}

/*.btn-default {
    border-color: #AA9157;
    background-color: #E5DECC;
}*/

.btn-default:hover{
    /*color: #02211e !important;
    background: none;*/
    /*border-color: #AA9157;;
    background-color: #E5DECC;*/
}

#create-user .btn-default:hover, 
.submit_btn{
    -webkit-box-shadow: 0 0 0 2px #57b5e3, 0 0 13px 3px white;
    -moz-box-shadow: 0 0 0 2px #57b5e3, 0 0 13px 3px white;
    box-shadow: 0 0 0 2px #57b5e3, 0 0 13px 3px white;
    color: #57b5e3 !important;
    background-color: transparent;
    border-color: #57b5e300;
}

.form-group label{
    margin-top: 7px;
    margin-bottom: 7px;
}

.dep-wrapper .input_fields_wrap form-inline{
    float: left;
}

.dep-wrapper .add-button{
    float: right;
}

.panel-body .table > tbody > tr > td {
    vertical-align: middle;
}

@media(max-width: 991px){
    .panel-body .table{
        border-collapse: collapse;
    }
    .panel-body .table > tbody > tr > td{
        display:block;
        border-top:none;
        width: 100%!important;
    }
    
    /*
    .panel-body .table > tbody > tr{
    
    }
    */
}
/* custom padding left-right (5px)*/
.padding{
    padding-left: 5px;
    padding-right: 5px;
}

/*add department button */
.add-btn-company{
    display: block; /*inline-block*/
    float: right;
}

.add-btn-company button, 
/*.add-bank,*/ 
.add-ppart{
    background: none;
    border: 2px solid;
    padding: 5px 8px;
    border-radius: 5px;
    margin-top: 10px;
}

.dep-form .input_fields_wrap form-inline{
    float: left;
}

.dep-form .remove-button, 
.bank-form .remove-button, 
.ppart-form .remove-button{
    float: right;
    margin-left: 10px;
    background: none;
    border: 2px solid;
    margin-top: 10px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
	-o-transition: all 0.5s;
	transition: all 0.5s;
    border-radius: 3px;

}

.dep-form .remove-button .fa, 
.bank-form .remove-button .fa {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}

.dep-form .remove-button:hover,
.bank-form .remove-button:hover {
  border: 2px solid #FDB8B8;

}

.dep-form .remove-button:hover .fa, 
.bank-form .remove-button:hover .fa {
    color: red;
}

.dep-form {
    display: block;
    margin-top: 10px;
}

.dep-form label {
  padding-left: 7px;
}

.dep_wrapper {
  padding-top: 15px;
  padding-bottom: 15px;
}

.create-btn-wrapper  {
  width: 100%;
  float: right;
}

.dep-old-row {
  margin-bottom: 15px;
  width: 100%
}

.clone-form.dep-form::before {
  clear: both;
}

.clone-form.dep-form::after {
  clear: both;
}

/* Pagination CSS */
.search-contact .dataTables_paginate, 
.search-events .dataTables_paginate{
  display: none;
}

.panel-body .dataTables_wrapper .dataTables_paginate .paginate_button {
  background: #FFFFFF;
  color: #2E6DA4 !important;
  border: none;
  padding: 1px;
}

.tableTools-container {
    margin-bottom: 8px;
    position: relative;
}

table.dataTable thead .sorting,
table.dataTable thead .sorting_asc,
table.dataTable thead .sorting_desc {
    background : none;
}

table.dataTable thead{
    font-size: 12px;
    font-weight: lighter !important;
    margin-top: 10px;
    opacity: 0.7;
}

table.dataTable thead th{
    padding: 0;
}

.red{
    color: #9E1B20;
}

.blue{
    color: #478FCA !important;
}

.pink{
    color: #C6699F !important;
}

.orange {
    color: #FF892A !important;
}

.grey {
    color: #777777 !important;
}

.btn-group:first-child{
    margin-left: 0;
}

.btn-group.btn-overlap > .btn{
    margin-right: -1px;
}

.bigger-110 {
    font-size: 110% !important;
}

.btn-results {
    border: 1px solid #DDDDDD;
}

.panel-body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled, 
.panel-body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover, 
.panel-body .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:active{
    border: none;
}

.bold{
    font-weight: bold;
}

a.bold:hover, .panel-title>a:hover, .panel-title>a:focus {
  text-decoration: none
}

.field-notice-container {
    display:inline-block;
    width:auto;
}

.contents, .contents .inner {
    display:inline-block;
}

.inner{
  vertical-align: sub;
  background-color: #ffb93682;
}

.contents {
    white-space:nowrap;
    margin-right: -1em;
    padding-right: 1em;
    text-align:left;
}

.contents .inner {
    direction: ltr;
    width:0%;
    overflow:hidden;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
}



.field-notice-container:hover .contents .inner{
    color:grey;
    padding:0px 4px 0px 4px;
    width:100%;
}

/*project form  project part tab */

a.edit-ppart {
  text-align: right;
  float: right;
  margin-top: 15px;
  text-transform: capitalize;
  background: #00bbf2;
  padding: 10px;
  border-radius: 5px;
  color: #ffffff;
}

a.edit-ppart:hover, a.edit-ppart:focus, .add-ppart:hover, .add-ppart:focus {
  text-decoration: none
}
#ppart-accordion {
    margin-bottom: 20px;
}

.add-ppart {
    border: 1px solid #00bbf2;
    color: #00bbf2;
    font-weight: bold;
}


/*end */

.remove_field {
margin-left:4px;
    margin-bottom: 5px;
}

.company-form .remove-button {
    background: #9E1B20;
    border: none;
    color: #fff;
    padding: 1px 8px;
    margin-bottom: 2px;
    font-weight: bold;
}

/*#forms-content{*/
/*  margin-left: 5%;*/
/*  margin-top: 10px;*/
/*  */
/*  !*padding-right: 0;*!*/
/*}*/

#sidebar-wrapper{
  z-index:1005;
}

@media (max-width :991px){
  #sidebar-wrapper{
    margin-left:0;
    padding-left: 0;
    z-index:999;
  }
  #forms-content{
    margin:0px;
    padding: 0px;
  }

  .row{
    margin:0;
    padding: 0;
  }
}

.add_field_button , .add-company {
  margin-top: -5px;
}

.padding {
  padding-top: 10px
}

.add-company.no-margin {
  margin-top: 0
}





.tabs {
	position: relative;
	overflow: hidden;
	margin: 0;
	width: 100%;
	font-weight: 300;
	font-size: 1.25em;
}

/* Nav */
/*.tabs nav {
	text-align: center;
}*/

.tabs nav ul {
	position: relative;
	margin: 0 auto;
	padding: 0;
	max-width: 1200px;
	list-style: none;
	-ms-box-orient: horizontal;
	-ms-box-pack: center;
	-webkit-flex-flow: row wrap;
	-moz-flex-flow: row wrap;
	-ms-flex-flow: row wrap;
	flex-flow: row wrap;
	-webkit-justify-content: center;
	-moz-justify-content: center;
	-ms-justify-content: center;
	justify-content: center;
}

.tabs nav ul li {
	position: relative;
	z-index: 1;
	display: inline-block;/*table-cell;*/
	margin: 0;
	text-align: center;
}

.tabs nav a {
	position: relative;
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	line-height: 2.5;
}

.tabs nav a span {
	vertical-align: middle;
	font-size: 0.75em;
}

/*.tabs nav li.active a {
	color: #00bbf2;
}*/

.tabs nav a:focus {
	outline: none;
}

/*****************************/
/* Flip */
/*****************************/

.tabs-style-flip {
	max-width: 1200px;
}

.tabs-style-flip nav a {
	padding: 0.5em 10px;
	color: #78c1bb;

	-webkit-transition: color 0.3s;
	transition: color 0.3s;
}

.tabs-style-flip nav a:focus,
.tabs-style-flip nav li.active a {
/*	color: #ffffff;*/
  background-color: #EEE9DD !important;
}

.tabs-style-flip nav a:hover,.tabs-style-flip nav a:focus,
.tabs-style-flip nav li.active a {
  text-decoration: none
}

.tabs-style-flip nav a span {
	text-transform: uppercase;
	letter-spacing: 1px;
	font-weight: 700;
	font-size: 0.625em;
}

.tabs-style-flip nav a::after {
	position: absolute;
	top: 0;
	left: 0;
	z-index: -1;
	width: 100%;
	height: 100%;
	background-color: #ddd;
	content: '';
	-webkit-transition: -webkit-transform 0.3s, background-color 0.3s;
	transition: transform 0.3s, background-color 0.3s;
	-webkit-transform: perspective(900px) rotate3d(1,0,0,90deg);
	transform: perspective(900px) rotate3d(1,0,0,90deg);
	-webkit-transform-origin: 50% 100%;
	transform-origin: 50% 100%;
	-webkit-perspective-origin: 50% 100%;
	perspective-origin: 50% 100%;
}

.tabs-style-flip nav li.active a::after {
	background-color: #AA9157;
	-webkit-transform: perspective(900px) rotate3d(1,0,0,0deg);
	transform: perspective(900px) rotate3d(1,0,0,0deg);
}

/* friends buttons */

.friends-row {
  padding-top: 20%
}

.friends-btn {
	border: none;
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background: #0e83cd;
	cursor: pointer;
	padding: 25px 80px;
	display: inline-block;
	margin: 15px 30px;
	letter-spacing: 1px;
	font-weight: 700;
	outline: none;
	position: relative;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
  color: #fff;
  width: 60%
}

.friends-btn:after {
	content: '';
	position: absolute;
	z-index: -1;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
	transition: all 0.3s;
}

.add-friend-col {
  height: 150px;
  overflow: auto;
}

.add-friend-col {
  text-align: left
}

/* Button 1e */
.btn-1e {
	overflow: hidden;
}

.btn-1e:after {
	width: 100%;
	height: 0;
	top: 50%;
	left: 50%;
	background: #f9f9f9;
	opacity: 0;
	-webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-moz-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	-ms-transform: translateX(-50%) translateY(-50%) rotate(45deg);
	transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.btn-1e:hover,
.btn-1e:active {
	color: #0e83cd;
  z-index: 999
}

.btn-1e:hover:after {
	height: 260%;
	opacity: 1;
}

.btn-1e:active:after {
	height: 400%;
	opacity: 1;
}

.friendship-index .friendsystem, .friends-header, .friends-footer {
  background-image: url(../img/artis-symbol.png);
  background-size: auto;
}

.friendship-index .push {
  display: none
}

.friends-header .close {
  color: #d9534f;
  opacity: 1

}

.friends-header .modal-title {
  font-weight: bold
}

.friends-modal .modal-body {
  padding-top: 40px;
  padding-bottom: 40px
}

.rfriend, .cancel-request, .accept-friend, .decline-friend, .unfriend {
  float: right;
  background: #fff;
  color: #c9302c;
  border-style: dotted;
}

.accept-friend, .decline-friend {
  margin-left:10px;
  font-weight: bold
}

.friend-child {
  margin-bottom: 15px
}

#request-btn {
  text-align: right;
}

input[type=checkbox].select-friend {
 display          : inline-block;
 width            : 15px;
 height           : 15px;
 margin           : 0.25em 0.5em 0.25em 0.25em;
 border           : 0.0625em dotted;
 background       : #fff;
 vertical-align   : bottom;

}

.request-btn {
  border: 1px solid;
  border-radius: 4px;
  background: #fff;
  font-weight: 700;
  text-transform: capitalize;
  transition: all 0.5s ease
}

.request-btn:hover {
  color: #fff;
  background: #000;
}

.friend-req {
  margin-top: 15px
}

@media (max-width:1100px) {
  .friends-btn {
    padding:25px 25px
  }
}

@media (max-width:910px) {
  .friends-btn {
    padding:25px 0px
  }
}

@media (max-width:991px) {
  .friends-col.text-right, .friends-col  {
    text-align: center
  }

  .friends-row {
  padding-top: 5%
  }
}

.company_select{
  width:30% !important;
margin-bottom: 4px;
}


.eventaction{
  text-align: center;
  margin: 0 auto;
  text-align: center;
  width:min-content;
}

.eventaction > a , .eventaction > form >button, .eventaction>button{
  width:100%;
  padding:2px;
}

 .search-res-tbody > tr > td > a , .search-res-tbody > tr > td > form > button{

   padding:2px;
 }

 .btn-event{
  /*float:left;*/

  margin:1px;
}
.eventaction > a > i , .eventaction > form >button > i, .eventaction>button >i, .search-res-tbody > tr > td > a > i, .search-res-tbody > tr > td > form > button > i{
  width:18px;
  height:18px;
  padding:2px;

}



.eventaction > form, .eventaction > button{
  display:inline;
}

.contact-menu-btn{
  font-size: 15px;
}

#progreport_event_box{

  padding:15px;

}

#search-results-event_type_filter{
  position:relative;
}

#search-results-event_type_wrapper >div>div:first-child{
  width:100%;
  float:none;
}

#search-results-event_type_wrapper >div>div:nth-child(2){
  width:auto;
  float:none;
}

.form-notes{
  font-weight: 700;
  font-size:16px;
  font-style: italic;
  color:#8c8b8b;
}

.form-notes-parent::first-letter{
text-transform: uppercase;
}
